home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10178 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Standard question - pointer initialization
  5. Date: 15 Mar 1996 22:32:47 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Mar15153247@qcd.lanl.gov>
  8. References: <4hk9un$906@hammer.msfc.nasa.gov> <4i52bk$5el@s02.pavilion.co.uk>
  9.     <TANMOY.96Mar12211525@qcd.lanl.gov>
  10.     <1996Mar14.113012.7984@friend.kastle.com>
  11. NNTP-Posting-Host: qcd.lanl.gov
  12. Mime-Version: 1.0
  13. Content-Type: text
  14. In-reply-to: rich@kastle.com's message of Thu, 14 Mar 1996 11:29:28 GMT
  15.  
  16. In article <1996Mar14.113012.7984@friend.kastle.com>
  17. rich@kastle.com (Richard Krehbiel) writes:
  18. <snip>
  19. RK: 
  20. RK: C not only lets you write really portable stuff, it also lets you
  21. RK: write really platform/compiler/vendor-specific stuff, and that's a
  22. RK: GOOD thing.
  23. RK: 
  24.  
  25. I agree, except at that point I stop calling it C :-)
  26.  
  27. More importantly, most often people write non-portable code where
  28. portable code would be as good. Having ported code which was never
  29. meant to be ported I think that is a chain of thought which ought to
  30. be stamped out; and I for one will attempt to do so.
  31.  
  32. Basically, there are four reasons why people write non-portable code:
  33.  
  34. 1) Ignorance
  35. 2) Laziness
  36. 3) Efficiency
  37. 4) Platform specific stuff.
  38.  
  39. I accept only 3) and 4) as valid reasons.
  40.  
  41. Cheers
  42. Tanmoy
  43. --
  44. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  45. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  46. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  47. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  48. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  49. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  50.